﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="WinnerCMS.WebUI.Admin.DataBase.ExecuteSQL"
    CodeBehind="ExecuteSQL.aspx.cs" %>

<%@ Register Src="../UC_AjaxLoading.ascx" TagName="UC_AjaxLoading" TagPrefix="uc1" %>
<!doctype html>
<html>
<head runat="server">
    <title>执行SQL代码</title>
    <%: Styles.Render("~/Content/Bootstrap/css") %>
    <meta http-equiv="Pragma" content="No-cach" />
    <%: Scripts.Render("~/Scripts/AdminBase") %>
    

    <style type="text/css">
        .style1
        {
            color: #FF0000;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
        <ProgressTemplate>
            <uc1:UC_AjaxLoading ID="UC_AjaxLoading1" runat="server" />
        </ProgressTemplate>
    </asp:UpdateProgress>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:TextBox ID="txtSql" runat="server" Height="200px" TextMode="MultiLine" Width="80%"></asp:TextBox>
            <asp:Button ID="btnAction" runat="server" Cssclass="btn btn-default" OnClick="btnAction_Click"
                Text="执行" />
            <br />
            可以同时执行多个Sql查询 <span class="style1">警告：</span>执行Sql代码前，请确保你知道自己在干什么。<br />
            进行错误的修改、删除的操作，将不可恢复原状。<hr />
            <br />
            <asp:Panel ID="PL_Date" runat="server" Width="100%">
            </asp:Panel>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>